/**
 * fileName:  RoleEntity.java
 * author:  Lei
 * Company:  Cloudland Studio
 * Createdate:  2014-3-2 上午9:41:09
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2011
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-3-2          Lei            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.udap.database.entity;

 /**
 * <pre> 
 * 角色信息实体
 * </pre>
 * @ClassName  RoleEntity
 * @author  Lei
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class RoleEntity {

	/**
	 * id 角色标示符
	 */
	private String id;
	
	/**
	 * name 角色名称
	 */
	private String name;
	
	/**
	 * resource 角色资源编号
	 */
	private String resource;

	/**
	 * get id
	 * @return id
	 */
	public String getId() {
		return id;
	}

	/**
	 * set id
	 * @param id the value of id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * get name
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * set name
	 * @param name the value of name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * get resource
	 * @return resource
	 */
	public String getResource() {
		return resource;
	}

	/**
	 * set resource
	 * @param resource the value of resource
	 */
	public void setResource(String resource) {
		this.resource = resource;
	}
	
}
